package com.interaction.qualitytimeaiagent.demo.invoke;

import dev.langchain4j.community.model.dashscope.QwenChatModel;
import dev.langchain4j.model.chat.ChatLanguageModel;

public class LangChainAiInvoke {
    public static void main(String[] args) {
        ChatLanguageModel chatLanguageModel = QwenChatModel.builder().apiKey(ApiKey.API_KEY).modelName("qwen-max").build();
        String chat = chatLanguageModel.chat("我是唐一宁,你好");
        System.out.println(chat);

    }
}
